﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;

namespace BUS
{
    public class QuayBUS
    {
        QuayDAO  cls = new QuayDAO();
        //Load dữ liệu
        public DataTable LoadQuay()
        {
            return cls.LoadQuay();
        }
        //insert du lieu
        public void IsUp_Quay(QuayDTO p, bool flag)
        {
            cls.IsUp_Quay(p, flag);
        }
        //Del du lieu
        public void Del_Quay(QuayDTO p)
        {
            cls.Del_Quay(p);

        }
        //tim kiem
        public DataTable TimQuay(QuayDTO p, bool flag)
        {
            return cls.TimQuay(p, flag);
        }
      // lay ma kho
        public DataTable Kho()
        {
            return cls.Kho();
        }
    }
}
